import * as moment from 'moment'

export default {
  relativeTime: (time: number) => moment(new Date(time * 1000)).fromNow(),
}
